package com.teacheryoung.teachdemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Project:teachdemo
 * User: Bluce Young
 * Date: 2019/12/2 19:15
 * Description: No Description
 */
@RestController
public class MainController {

    @GetMapping("/hello")
    public String sayhello(){
        return "helloworld";
    }
}
